package com.by.pojo;


import com.by.annotion.Column;
import com.by.annotion.Entity;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/9 14:17
 * @注释
 */
@Entity(tableName = "user")
public class User {
    @Column(name = "id")
    private int id;

    @Column(name = "name")
    private String name;

    @Column(name = "age")
    private int age;

    // Getters and Setters
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}